<template>
  <div id="app">
    <div class="main">
      <!-- 顶部组件 -->
      <header-navs v-if="!$route.meta.headerflag"></header-navs>
      <!-- 路由视图 -->
      <router-view></router-view>
      <!-- 播放音乐 -->
      <player></player>
    </div>
  </div>
</template>

<style lang="less">
@import "./assets/css/base.css";
</style>

<script>
import headerNavs from "./components/headerNavs";
import player from "./components/player";
export default {
  data() {
    return { headerflag: true };
  },
  methods: {},
  components: {
    headerNavs,
    player,
  },
  created() {
    document.title = "随身听"
  },
};
</script>
